<?php

function get_content_by_our_client() {
  $query = db_select('node', 'n');
  $query->condition('n.type', 'our_client');
  $query->condition('n.status', 1);
  $query->orderBy('n.nid', 'ASC');
  $query->fields('n', array('nid'));
  $result = $query->execute()->fetchCol();  
  return theme('tpl_our_client', array('result' => $result));
}
